#include "EditorWindow.h"
using namespace std;
void EditorWindow::MakeWindow()
{
	__super::MakeWindow();
	InitWindow();
	SDL_SetWindowTitle(window, "EditorWindow");
}

INT EditorWindow::ShowModal()
{
	return __super::ShowModal();
}

void EditorWindow::OnMouseUp(tstring name, Control* ctrl, int x, int y)
{

}

void EditorWindow::OnMouseDown(tstring name, Control* ctrl, int x, int y)
{
	printf(name.strdata());
}

void EditorWindow::OnKeyUp(tstring name, Control* ctrl, int key)
{

}

void EditorWindow::DoEvent(SDL_Event* evt)
{

}

void EditorWindow::OnClosed()
{

}

void EditorWindow::OnDraw()
{

}

void EditorWindow::OnSizeChange()
{

}

void EditorWindow::InitWindow()
{

}

void EditorWindow::ParseFromXml()
{

}

Control* EditorWindow::CreateControl(std::string sControlClassName)
{




	return nullptr;
}

